package bean;

import java.io.Serializable;

/**
 * @Author : liuchangling
 * @Descrition :班级信息
 * @Date： Created in 2:11 下午 2021/6/4
 */
public class Class implements Serializable {
    private static final long serialVersionUID = 1349025963456175725L;
    private int id;
    private int classNo;
    private String className;
    private int gradeNo;
    private String teacherName;
    //班级口号
    private String classSlogan;
    //班级人数
    private int classNum;

    public Class() {
    }

    public Class(int classNo, String className, int gradeNo, String teacherName, String classSlogan, int classNum) {
        this.classNo = classNo;
        this.className = className;
        this.gradeNo = gradeNo;
        this.teacherName = teacherName;
        this.classSlogan = classSlogan;
        this.classNum = classNum;
    }

    public int getClassNo() {
        return classNo;
    }

    public void setClassNo(int classNo) {
        this.classNo = classNo;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public int getGradeNo() {
        return gradeNo;
    }

    public void setGradeNo(int gradeNo) {
        this.gradeNo = gradeNo;
    }

    public String getTeacherName() {
        return teacherName;
    }

    public void setTeacherName(String teacherName) {
        this.teacherName = teacherName;
    }

    public String getClassSlogan() {
        return classSlogan;
    }

    public void setClassSlogan(String classSlogan) {
        this.classSlogan = classSlogan;
    }

    public int getClassNum() {
        return classNum;
    }

    public void setClassNum(int classNum) {
        this.classNum = classNum;
    }

    @Override
    public String toString() {
        return "Class{" +
                "classNo=" + classNo +
                ", className='" + className + '\'' +
                ", gradeNo=" + gradeNo +
                ", teacherName='" + teacherName + '\'' +
                ", classSlogan='" + classSlogan + '\'' +
                ", classNum=" + classNum +
                '}';
    }
}
